Evavel\Auth\Gate S

Total Complexity 36
Dependencies 5
Dependents 1
Total lines 338
Lines of code 110
Logical lines of code 61
Comment lines 161
Methods 15
Properties 4

Methods 15

Method Rating Maintainability Complexity Lines of code
define()
S
57 6 16
resolveAuthCallback()
S
60 5 13
getPolicyFor()
S
63 4 11
buildAbilityCallback()
S
59 3 15
has()
S
65 4 9
check()
S
68 3 7
resolveUser()
S
72 2 5
resolvePolicyCallback()
S
67 2 8
forUser()
S
77 1 4
policy()
S
76 1 4
resolvePolicy()
S
80 1 3
inspect()
S
72 1 5
callAuthCallback()
S
74 1 4
allows()
S
79 1 3
denies()
S
79 1 3